<template>
  <div class="content">
    <HelloTsx name="韩天尊" @on-click="getObj"></HelloTsx>
  </div>
</template>

<script setup lang="ts">
import { ref, provide, readonly } from "vue"
import HelloTsx from "./App"

const getObj = (obj) => {
  console.log(obj, "父组件收到了数据")
}
</script>

<style lang="less" scoped>

</style>